package com.qlk.odcinterface.dao;

import com.qlk.odcinterface.domain.PmsFullCut;
import com.qlk.odcinterface.domain.query.PmsFullCutQuery;

import java.util.List;

/**
 * PmsFullCutDao接口<br/>
 * 对'满减表'表进行基本的操作
 * 
 * @author zhaoyanan
 * @version 2016-4-14 16:23:00
 * 
 */
public interface PmsFullCutDao {
    
    /**
     * 新增对象
     * 
     * @param pmsFullCut 
     * @return
     */
    public boolean insert(PmsFullCut pmsFullCut);

    /**
     * 更新对象
     * 
     * @param pmsFullCut
     * @return
     */
    public boolean update(PmsFullCut pmsFullCut);

    /**
     * 根据查询Bean获取对象集合，不带翻页
     * 
     * @param queryBean
     * @return
     */
    public List<PmsFullCut> queryPmsFullCutList(PmsFullCutQuery queryBean);

    /**
     * 根据查询Bean获取总数
     * 
     * @param queryBean
     * @return
     */
    public int queryPmsFullCutCount(PmsFullCutQuery queryBean);

    /**
     * 根据查询Bean获取集合，带翻页
     * 
     * @param queryBean
     * @return
     */
    public List<PmsFullCut> queryPmsFullCutListWithPage(PmsFullCutQuery queryBean);

    /**
     * 删除记录
     * 
     * @param pmsFullCut
     * @return
     */
    public boolean delete(PmsFullCut pmsFullCut);

    /**
     * 根据主键获取对象
     * 
     * @param id
     *            主键字段
     * @return
     */
    public PmsFullCut getPmsFullCutById(Long id);

    /**
     * 判断是否存在
     * 
     * @param pmsFullCut
     * @return
     */
    public boolean exist(PmsFullCut pmsFullCut);

}
